<?php
	// force header to excel file
	header("Content-type: application/vnd.ms-excel; name='excel'");
	header("Content-Disposition: filename=gl_export.xls");
	header("Pragma: no-cache");
	header("Expires: 0");
?>
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

<body>
	<?php 	
		// write data to excel file
		echo $_POST["HIDdata2excel2"];
	?>
</body>
</html>

